package com.ctshk.rpc.order.custom.req.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 退团审批Req
 */
@Data
@ApiModel(value = "ApprovalQuitReq",description = "退团审批Req")
public class ApprovalQuitReq implements Serializable {

    @NotNull(message = "审批记录ID不能为空")
    @ApiModelProperty(value = "审批记录ID",required = true)
    private Long approvalId;

    @NotNull(message = "类型不能为空")
    @ApiModelProperty(value = "类型（3：审批通过,4：审批拒绝）",required = true)
    private Integer type;

    @ApiModelProperty(value = "拒绝原因")
    private String remark;

    @ApiModelProperty(value = "退代收费用")
    private BigDecimal collectionFee;

    @ApiModelProperty(value = "退团费")
    private BigDecimal groupFee;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

}
